#pragma once
#include <iostream>
using namespace std;
typedef int DataType;
class Stack
{
public:
	Stack();
	void StackPush(DataType x);
	void StackPop();
	DataType GetTop();
	bool StackEmpty();
	int StackSize();
	~Stack();

private:
	DataType* _a;
	int _top;
	int _capacity;
};
